#ifndef MAINFRAME_H
#define MAINFRAME_H

#include <QtGui>

namespace Ui
{
    class MainFrame;
}

class MainFrame : public QWidget
{
    Q_OBJECT

public:
    MainFrame(QWidget *parent = 0);
    ~MainFrame();

private slots:
    void stateChanged(int state);

    void doUpdate();
    void doUpdatePackageList();

    void skipItems();
    void installItems();

    void on_packs_itemPressed ( QTreeWidgetItem * item, int column );

private:
    QList<struct PackageInfo*> getSelectedPackages();

    Ui::MainFrame *ui;
    class Updater *up;
    QMenu *actionMenu;
};

#endif // MAINFRAME_H
